class CreateMobiles < ActiveRecord::Migration
  def self.up
    create_table :mobiles do |t|
      t.integer :virtual_number
      t.string :alias_list
      t.string :short_description
      t.string :long_description
      t.text :detailed_description
      t.integer :action_bitvector_id
      t.integer :affection_bitvector_id
      t.integer :alignment
      t.integer :mobile_type_flag_id
      t.integer :level
      t.integer :thaco
      t.integer :armor_class
      t.string :max_hit_points
      t.string :bare_handed_damage
      t.integer :gold
      t.integer :experience_points
      t.integer :load_position_id
      t.integer :default_position_id
      t.integer :sex_id

      t.timestamps
    end
  end

  def self.down
    drop_table :mobiles
  end
end
